Discover crate type information late if necessary.
authorMark Simulacrum <mark.simulacrum@gmail.com>
Mon, 21 Aug 2017 11:46:31 +0000 (05:46 -0600)
committerMark Simulacrum <mark.simulacrum@gmail.com>
Sat, 26 Aug 2017 14:52:20 +0000 (08:52 -0600)
commit4cfaf9a591e5c055b87b8eb265c665a4cc1305d9
tree9dc6dd45d56ae6d0329a07bfc4273c35ba41d110
parent3da1443551a900bf6501445cd54b7082a39ea827
Discover crate type information late if necessary.

Some crates aren't found during eager crate-type searching due to being
behind `cfg(...)` flags. We still want to be able to handle these,
though, so when necessary we now call rustc again to get crate-type
information for these cfg-ed crates.
src/cargo/ops/cargo_rustc/context.rs
tests/proc-macro.rs